package utils;

import java.util.List;

public class StringUtil
{
    public static String JoinString(List<String> list, String string) {
        StringBuffer stringBuffer = new StringBuffer();
        for (String s : list) {
            stringBuffer.append(s).append(string);
        }
        return stringBuffer.toString();

    }

    public static boolean isBlank(String string) {
        if ("".equals(string) || string == null) {
            return true;
        }
        return false;
    }

}
